package com.atguigu.ssyx.acl.mapper;

import com.atguigu.ssyx.model.acl.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * ClassName: RoleMapper
 * Package: com.atguigu.ssyx.acl.mapper
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-09-19
 * Time: 19:52
 */

@Repository
public interface RoleMapper extends BaseMapper<Role> {
    //根据用户Id查询对应的角色Id
    List<Role> selectAdminIdByRoleId(@Param("adminId") Long adminId);
}
